kexec: clear notes during setup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 May 2012 12:32:28 +0000 (13:32 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 7 May 2012 12:32:28 +0000 (13:32 +0100)
commit090e7cbafdd67fe933ee8674b76d91103d8f858e
treeed9eba09ccf7674dfe1a9f5eb0ff5287c4cfa646
parent68e6f038a42cad1a75d219b94df9ddbb3a713709
kexec: clear notes during setup

Explicity zero the memory backing the crash notes during setup.

This allows the crash environment to be rather more certain whether
the crash notes were actually written, rather than trusting that the
memory was clear beforehand.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/kexec.c